package com.cs.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;
import java.util.List;

/**
 * @Author：bbdf
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：test
 * @Date：2024-11-11 10:46
 * @Filename：test
 */
public class CSFramePlan extends BaseEntity {
    @Serial
    private static final long serialVersionUID = -7374988181656723268L;
    @Excel(name = "框架计划id")
    Integer planId;
//    Integer oId;
    @Excel(name = "框架计划编号")
    String planCode;
    @Excel(name = "框架计划名称")
    String planName;
    @Excel(name = "框架计划预算")
    Double planBudget;
    @Excel(name = "部门id")
    Integer deptId;
    @Excel(name = "框架计划状态")
    Integer planStatus;
    @Excel(name = "审批人")
    String planPerson;
    @Excel(name = "采购方式")
    Integer planMethod;
    @Excel(name = "创建人")
    String planFounder;
    @Excel(name = "供应商id")
    Integer hId;
    @Excel(name = "业务类型id")
    Integer businessType;
    @Excel(name = "逻辑删除")
    Integer isDeleted;
    @Excel(name = "创建日期")
    Date createTime;
    @Excel(name = "备注")
    String comments;
    @Excel(name = "行项目集合")
    private List<CSLineItems> lineItemsList;


    @Override
    public String toString() {
        return "CSFramePlan{" +
                "planId=" + planId +
                ", planCode='" + planCode + '\'' +
                ", planName='" + planName + '\'' +
                ", planBudget=" + planBudget +
                ", deptId=" + deptId +
                ", planStatus=" + planStatus +
                ", planPerson='" + planPerson + '\'' +
                ", planMethod=" + planMethod +
                ", planFounder='" + planFounder + '\'' +
                ", hId=" + hId +
                ", businessType=" + businessType +
                ", isDeleted=" + isDeleted +
                ", createTime=" + createTime +
                ", comments='" + comments + '\'' +
                ", lineItemsList=" + lineItemsList +
                '}';
    }

    public List<CSLineItems> getLineItemsList() {
        return lineItemsList;
    }

    public void setLineItemsList(List<CSLineItems> lineItemsList) {
        this.lineItemsList = lineItemsList;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getPlanCode() {
        return planCode;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public void setPlanCode(String planCode) {
        this.planCode = planCode;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public Double getPlanBudget() {
        return planBudget;
    }

    public void setPlanBudget(Double planBudget) {
        this.planBudget = planBudget;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getPlanStatus() {
        return planStatus;
    }

    public void setPlanStatus(Integer planStatus) {
        this.planStatus = planStatus;
    }

    public String getPlanPerson() {
        return planPerson;
    }

    public void setPlanPerson(String planPerson) {
        this.planPerson = planPerson;
    }

    public Integer getPlanMethod() {
        return planMethod;
    }

    public void setPlanMethod(Integer planMethod) {
        this.planMethod = planMethod;
    }

    public String getPlanFounder() {
        return planFounder;
    }

    public void setPlanFounder(String planFounder) {
        this.planFounder = planFounder;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public CSFramePlan() {
    }

    public CSFramePlan(Integer planId, String planCode, String planName, Double planBudget, Integer deptId, Integer planStatus, String planPerson, Integer planMethod, String planFounder, Integer hId, Integer businessType, Integer isDeleted, Date createTime, List<CSLineItems> lineItemsList) {
        this.planId = planId;
        this.planCode = planCode;
        this.planName = planName;
        this.planBudget = planBudget;
        this.deptId = deptId;
        this.planStatus = planStatus;
        this.planPerson = planPerson;
        this.planMethod = planMethod;
        this.planFounder = planFounder;
        this.hId = hId;
        this.businessType = businessType;
        this.isDeleted = isDeleted;
        this.createTime = createTime;
        this.lineItemsList = lineItemsList;
    }
}
